package example.springboot.model;

import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
public class Comment {
    //发表人
    private Long parentid;
    //评论类型，一二级
    private Integer type;
    //评论人
    private Integer commentator;
    //评论时间
    private Long gmt_create;
    private Long gmt_modified;
    //喜欢总数
    private Long like_count;
    //评论内容
    private String content;
    //评论总数
    private Integer comment_count;
}
